package com.example.light.web.personal.entity;

import java.util.Date;

public class Message {
    private Integer msgId;

    private String msgSenderEmail;

    private String msgReceiverEmail;

    private Date msgTime;

    private String msgContent;

    private String msgTitle;

    private Byte msgStatus;

    private Byte msgReaded;


    public Byte getMsgReaded() {
        return msgReaded;
    }

    public void setMsgReaded(Byte msgReaded) {
        this.msgReaded = msgReaded;
    }

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }

    public String getMsgSenderEmail() {
        return msgSenderEmail;
    }

    public void setMsgSenderEmail(String msgSenderEmail) {
        this.msgSenderEmail = msgSenderEmail == null ? null : msgSenderEmail.trim();
    }

    public String getMsgReceiverEmail() {
        return msgReceiverEmail;
    }

    public void setMsgReceiverEmail(String msgReceiverEmail) {
        this.msgReceiverEmail = msgReceiverEmail == null ? null : msgReceiverEmail.trim();
    }

    public Date getMsgTime() {
        return msgTime;
    }

    public void setMsgTime(Date msgTime) {
        this.msgTime = msgTime;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent == null ? null : msgContent.trim();
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle == null ? null : msgTitle.trim();
    }

    public Byte getMsgStatus() {
        return msgStatus;
    }

    public void setMsgStatus(Byte msgStatus) {
        this.msgStatus = msgStatus;
    }
}